home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / converter / pbm with gui / man / pnmtops.man < prev    next >
Encoding:
Text File  |  1996-07-16  |  3.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      pnmtops(1)           AMIGA (26 October 1991)           pnmtops(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           pnmtops - convert portable anymap to PostScript
  10.  
  11.      SYNOPSIS
  12.           pnmtops [-scale s] [-turn|-noturn] [-rle|-runlength] [-dpi
  13.           n] [-width n] [-height n] [-center|-nocenter] [pnmfile]
  14.  
  15.      DESCRIPTION
  16.           Reads a portable anymap as input.  Produces Encapsulated
  17.           PostScript as output.
  18.  
  19.           If the input file is in color (PPM), a color PostScript file
  20.           gets written.  Some PostScript interpreters can't handle
  21.           color PostScript.  If you have one of these you will need to
  22.           run your image through ppmtopgm first.
  23.  
  24.           Note that there is no pstopnm tool - this transformation is
  25.           one-way, because a pstopnm tool would be a full-fledged
  26.           PostScript interpreter, which is beyond the scope of this
  27.           package.  However, see the psidtopgm tool, which can read
  28.           grayscale non-runlength PostScript image data.  Also, if
  29.           you're willing to install the fairly large GhostScript
  30.           package, it comes with a pstoppm script.
  31.  
  32.      OPTIONS
  33.           The -scale flag controls the scale of the result.  The
  34.           default scale is 1, which on a 300 dpi printer such as the
  35.           Apple LaserWriter makes the output look about the same size
  36.           as the input would if it was displayed on a typical 72 dpi
  37.           screen.  To get one PNM pixel per 300 dpi printer pixel, use
  38.           "-scale 0.25".
  39.  
  40.           The -turn and -noturn flags control whether the image gets
  41.           turned 90 degrees.  Normally, if an image is wider than it
  42.           is tall, it gets turned automatically to better fit the
  43.           page.  If the -turn flag is specified, it will be turned no
  44.           matter what its shape; and if the -noturn flag is specified,
  45.           it will not be turned no matter what its shape.
  46.  
  47.           The -rle or -runlength flag specifies run-length
  48.           compression.  This may save time if the host-to-printer link
  49.           is slow; but normally the printer's processing time
  50.           dominates, so -rle makes things slower.
  51.  
  52.           The -dpi flag lets you specify the dots per inch of your
  53.           output device.  The default is 300 dpi.  In theory
  54.           PostScript is device-independent and you don't have to worry
  55.           about this, but in practice its raster rendering can have
  56.           unsightly bands if the device pixels and the image pixels
  57.           aren't in sync.
  58.  
  59.           The -width and -height flags let you specify the size of the
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 3/1/94)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      pnmtops(1)           AMIGA (26 October 1991)           pnmtops(1)
  71.  
  72.  
  73.  
  74.           page.  The default is 8.5 inches by 11 inches.
  75.  
  76.           With the -nocenter flag, the output is not centered on the
  77.           page, i.e. it appears in the upper left corner. This is
  78.           useful for programs which can include PostScript files, but
  79.           can't cope with pictures which are not positioned in the
  80.           upper left corner. The default is -center i.e. the image is
  81.           centered on the page.
  82.  
  83.           All flags can be abbreviated to their shortest unique
  84.           prefix.
  85.  
  86.      SEE ALSO
  87.           pnm(5), psidtopgm(1)
  88.  
  89.      AUTHOR
  90.           Copyright (C) 1989, 1991 by Jef Poskanzer.
  91.           Modified November 1993 by Wolfgang Stuerzlinger,
  92.           wrzl@gup.uni-linz.ac.at
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                           (printed 3/1/94)
  130.  
  131.  
  132.  
  133.